package com.whmall.service.crm.module.customerpool.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whmall.service.crm.entity.dto.customerpool.CustomerPoolFollowRecordQueryDTO;
import com.whmall.service.crm.module.customerpool.entity.CustomerPoolFollowRecordDO;
import com.whmall.service.crm.module.customerpool.entity.qo.CustomerPoolFollowRecordQO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerPoolFollowRecordMapper extends BaseMapper<CustomerPoolFollowRecordDO>{

    List<CustomerPoolFollowRecordDO> selectBy(CustomerPoolFollowRecordQO qo);

    List<Long> groupByCompanyIdWithTraderId(CustomerPoolFollowRecordQueryDTO c);

    List<CustomerPoolFollowRecordDO> listWithTraderId(CustomerPoolFollowRecordQueryDTO c);

}